package org.cuit.lmq.core;

import lombok.Getter;
import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;

/**
 * @author Seon
 * @date 2023/3/10
 */
@Slf4j
@Getter
public class TreeNode {
    private String name;

    public TreeNode(String name) {
        this.name = name;
    }

    // 和子节点间的边标签
    ArrayList<String> label = new ArrayList<>();

    //对应子节点
    ArrayList<TreeNode> nodes = new ArrayList<>();
}
